import { Global, Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import VoteLog from 'src/entities/voteLog.entity';
import { VoteLogModelService } from './vote-log-model.service';

@Global()
@Module({
  imports : [
    TypeOrmModule.forFeature([VoteLog])
  ],
  providers: [VoteLogModelService],
  exports : [VoteLogModelService]
})
export class VoteLogModelModule {}
